Skip to content

fix: Load control & dialog assets with cart.js (backport #29625) - #29627

Merged
marination merged 2 commits into
version-14-beta-pre-releasefrom
mergify/bp/version-14-beta-pre-release/pr-29625
Feb 3, 2022
Merged

fix: Load control & dialog assets with cart.js (backport #29625)#29627
marination merged 2 commits into
version-14-beta-pre-releasefrom
mergify/bp/version-14-beta-pre-release/pr-29625

Conversation

@mergify

@mergify mergify Bot commented Feb 3, 2022

Copy link
Copy Markdown
Contributor

This is an automatic backport of pull request #29625 done by Mergify.


Mergify commands and options

More conditions and actions can be found in the documentation.

You can also trigger Mergify actions by commenting on this pull request:

  • @Mergifyio refresh will re-evaluate the rules
  • @Mergifyio rebase will rebase this PR on its base branch
  • @Mergifyio update will merge the base branch into this PR
  • @Mergifyio backport <destination> will backport this PR on <destination> branch

Additionally, on Mergify dashboard you can:

  • look at your merge queues
  • generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.com

surajshetty3416 and others added 2 commits February 3, 2022 16:36
Previously, control & dialog assets were getting loaded only on visiting "/cart", but since cart.js sets up various events on homepage, dialog related assets are required up-front.

(cherry picked from commit e652ab5)
- Due to it being in the bundle, controls bundle was required for Dialogs used in cart
- But this is exclusively used in `cart.html`
- It has no reason to load and break the login page
- Moved it back to where the html is, it is now back to being tightly coupled with its html

(cherry picked from commit 017a882)
@marination
marination merged commit 7bbf9bc into version-14-beta-pre-release Feb 3, 2022
@mergify
mergify Bot deleted the mergify/bp/version-14-beta-pre-release/pr-29625 branch February 3, 2022 16:38
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Jan 11, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants